<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">


<head th:include="include/admin/adminHeader::html('用户管理')" ></head>
<!--富文本编辑器-->
<script>
    $(function(){
        var data4Vue = {
            uri:'article',
            bean: {}
        };

        //ViewModel
        var vue = new Vue({
            el: '#workingArea',
            data: data4Vue,
            mounted:function(){ //mounted　表示这个 Vue 对象加载成功了
                var id = getUrlParms("id");
                this.get(id);
            },
            methods: {
                get:function(id){
                    var url = "article"+"/"+id;
                    // alert(url)
                    axios.get(url).then(function(response) {
                        vue.bean = response.data;
                    })
                },



            }

        });
    });

</script>

<div id="workingArea">
    <!--主体内容-->
    <p v-html="bean.content" style="font-size: 50px"></p>

</div>

</body>
</html>